package com.ruoyi.iot.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;

import java.util.ArrayList;
import java.util.List;

public class MetadataTypeEntity extends BaseEntity
{

    public static String Type_iotType ="iotType";

    private String id;
    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 类型：db 数据库   file: 文件
     */
    private String type;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 上级id
     */
    private String pid;

    private String masterdataModelId;//模型id masterdata_model_id
    private List<MetadataTypeEntity> children = new ArrayList<MetadataTypeEntity>();

    public List<MetadataTypeEntity> getChildren() {
        return children;
    }

    public void setChildren(List<MetadataTypeEntity> children) {
        this.children = children;
    }

    public static String getType_iotType() {
        return Type_iotType;
    }

    public static void setType_iotType(String type_iotType) {
        Type_iotType = type_iotType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getMasterdataModelId() {
        return masterdataModelId;
    }

    public void setMasterdataModelId(String masterdataModelId) {
        this.masterdataModelId = masterdataModelId;
    }
}
